package com.gdgk.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gdgk.shop.bean.model.ScoreImportDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper

public interface ScoreImportDetailMapper extends BaseMapper<ScoreImportDetail> {


    void insertDetail(@Param("detail") ScoreImportDetail detail);


    List<ScoreImportDetail> selectByRecordId(@Param("recordId") Long recordId);


    void changeSuccessByMobileNumber(@Param("mobileNumber") String mobileNumber);


    Integer sumScoreByMobileNumberAndStatus(@Param("mobileNumber") String mobileNumber);


}
